import java.util.Random;
 public class pp38
{
 
 public static void main(String[] args)
{
 Random generator = new Random();

int num;
 
 num = generator.nextInt(21) + 20;
 System.out.println("20 to 40:" + num);
 
 double zhenxuan,yuxuan,zhenqie;
 
 zhenxuan = Math.sin(num);
 yuxuan = Math.cos(num);
 zhenqie = Math.tan(num);
 
 System.out.println("zhenxuan:" + zhenxuan);
 
 System.out.println("yuxuan:" + yuxuan);
 
 System.out.println("zhenqie:" + zhenqie);

}
}
